import axios from '@/utils/axios'

const commentByStoreIdURL = '/comment/getCommentByStoreId/'
const commentByUserIdURL = '/comment/getCommentByUserId'
const comment = {
    getCommentByStoreId: function(storeId){
        return axios.get(commentByStoreIdURL + storeId)
    },
    getCommentByUserId: function(params){
        return axios.post(commentByUserIdURL, params)
    }
}

export default comment